package com.mask.mk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDateTime;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 地址信息表
 * </p>
 *
 * @author joey
 * @since 2023-04-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Addressinfo对象", description="地址信息表")
public class Addressinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "地址id")
    @TableId(value = "addressid", type = IdType.AUTO)
    private Integer addressid;

    @ApiModelProperty(value = "用户id")
    private Integer userid;

    @ApiModelProperty(value = "地址信息")
    private String adinfo;

    @ApiModelProperty(value = "详细地址")
    private String detailInfo;

    @ApiModelProperty(value = "使用姓名")
    private String userName;

    @ApiModelProperty(value = "使用电话")
    private String userPhone;

    @ApiModelProperty(value = "默认地址状态")
    private Integer defaultStatus;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
